# Maintainer: Antonio Rojas <arojas@archlinux.org>

pkgname=index-fm
pkgver=2.2.2
pkgrel=1
pkgdesc='Multi-platform file manager'
url='https://mauikit.org/'
arch=(loong64 x86_64)
license=(GPL3)
depends=(mauikit-filebrowsing hicolor-icon-theme)
makedepends=(extra-cmake-modules)
groups=(maui)
source=(https://download.kde.org/stable/maui/index/$pkgver/$pkgname-$pkgver.tar.xz)
sha256sums=('21095832346c75f7423d75d8dde3348827a28540200b4630796dc2d46759ce94')

build() {
  cmake -B build -S $pkgname-$pkgver
  cmake --build build
}

package() {
  DESTDIR="$pkgdir" cmake --install build
}
